package cn.qzuie.smart.module.dorm.controller.admin;

import cn.qzuie.smart.framework.common.pojo.CommonResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static cn.qzuie.smart.framework.common.pojo.CommonResult.success;

@Tag(name="管理后台 - 楼栋管理")
@RestController
@RequestMapping("/dorm")
@Validated
public class BuildingController {
    @GetMapping("/get")
    @Operation(summary = "获取楼栋信息")
    public CommonResult<String> get(){
        return success("专家楼");
    }


}
